<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>代理商后台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <!-- 引入Bootstrap 5 CSS -->
    <link href="https://jsd.cdn.zzko.cn/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- 引入一个图标库 -->
    <link rel="stylesheet" href="https://jsd.cdn.zzko.cn/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css">
    <style>
        /* --- 全新美化版CSS --- */
        :root {
            --bs-primary: #0d6efd;
            --bs-light: #f8f9fa;
            --bs-gray: #6c757d;
            --bs-border-color: #dee2e6;
        }
        body { background-color: var(--bs-light); font-size: 14px; }
        .main-content { padding: 15px 10px; padding-bottom: 80px; }

        /* 卡片通用样式 */
        .card {
            border: none;
            border-radius: 12px;
            box-shadow: 0 4px H15px rgba(0, 0, 0, 0.06);
            margin-bottom: 1rem;
        }
        .card-title { font-weight: 600; }

        /* 订单卡片样式 */
        .order-card { background-color: #fff; border-radius: 12px; margin-bottom: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
        .order-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem; border-bottom: 1px solid #f0f0f0; }
        .order-card-header h5 { margin: 0; font-size: 1rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .order-card-body { padding: 1rem; font-size: 0.9rem; line-height: 1.8; }
        .order-info-item { display: flex; justify-content: space-between; margin-bottom: 0.5rem; }
        .order-info-item .label { flex-shrink: 0; width: 75px; color: var(--bs-gray); }
        .order-info-item .value { color: #333; font-weight: 500; text-align: right; word-break: break-all; }
        
        /* 详情模态框样式 */
        .modal-header { border-bottom: none; padding-bottom: 0; }
        .modal-title { font-weight: 600; }
        #orderDetailModalBody p { display: flex; justify-content: space-between; margin-bottom: 0.8rem; font-size: 15px; }
        #orderDetailModalBody p strong { color: var(--bs-gray); font-weight: normal; }
        #orderDetailModalBody p span { text-align: right; font-weight: 500; }

        /* 底部导航栏样式 */
        .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; box-shadow: 0 -2px 5px rgba(0,0,0,0.05); z-index: 1000; border-top: 1px solid var(--bs-border-color); }
        .nav-item { flex: 1; text-align: center; padding: 8px 0; text-decoration: none; color: #666; }
        .nav-item i { font-size: 22px; display: block; margin-bottom: 2px; }
        .nav-item span { font-size: 12px; }
        .nav-item.active { color: var(--bs-primary); }
    </style>
</head>
<body>
<div class="page-container" style="max-width: 500px; margin: 0 auto; background-color: #fff; min-height: 100vh;">